package router

import (
	"github.com/gin-gonic/gin"
	"go-template/internal/apps/api"
)

func APIRouter(r *gin.Engine) {
	r.GET("hi", api.Hi)

	auth := r.Group("auth").Use(AppMiddleware)
	{
		auth.GET("hi", api.Hi)
	}
}
